const module_routers = {
    'dashboard': {
        component: 'Layout',
        path: '/',
        solo: true,
        parentId: 1,
        id: 9999,
        meta: {
            title: '首页',
            icon: 'sidebar-breadcrumb',
            seq: 10
        },
        children: [{
            path: '/dashboard',
            name: 'dashboard',
            pid: 9999,
            meta: {
                title: '首页',
                affix: true,
                icon: 'sidebar-breadcrumb'
            }
        }]
    },
    'InfoSearch': {
        component: 'Layout',
        // redirect: '/information-query/pre-vehicle',
        name: 'information-query',
        path: '/information-query',
        meta: {
            title: '信息查询',
            icon: 'sidebar-breadcrumb',
            seq: 60
        }
    },
    'EntranceSearch': {
        path: '/information-query/pre-entrance',
        name: 'pre-entrance',
        component: 'modules/information-query/pre-entrance',
        meta: {
            launchIcon: 'entrance-vehicle.png',
            title: '车辆入场登记',
            icon: 'entrance-vehicle-search'
        }
    },

    'VehicleWeightSearch': {
        path: '/information-query/pre-vehicle-weight',
        name: 'pre-vehicle-weight',
        component: 'modules/information-query/pre-vehicle-weight',
        meta: {
            launchIcon: 'vehicle-weight.png',
            title: '车辆检测记录',
            icon: 'icon-vehicle-weight'
        }
    },
    'VehicleIllegalConfirm': {
        path: '/information-query/vehicle-illegal-confirm',
        name: 'vehicle-illegal-confirm',
        component: 'modules/information-query/vehicle-illegal-confirm',
        meta: {
            launchIcon: 'illegal-confirm.png',
            title: '车辆违法认定',
            icon: 'icon-illegal-confirm'
        }
    },
    'IllegalVehicleArchive': {
        path: '/information-query/illegal-vehicle-archive',
        name: 'illegal-vehicle-archive',
        component: 'modules/information-query/illegal-vehicle-archive',
        meta: {
            launchIcon: 'archive-manage.png',
            title: '违法车辆历史档案',
            icon: 'icon-archive-manage'
        }
    },
    'EntranceOutHistory': {
        path: '/overrun-penalty-query/entrance-out-history',
        name: 'entrance-out-history',
        component: 'modules/overrun-penalty-query/entrance-out-history',
        meta: {
            title: '车辆出入场历史记录',
            seq: 40,
            launchIcon: 'entrance-history.png',
            icon: 'icon-entrance-history'
        }
    },
    'VideoPlayer': {
        path: '/overrun-penalty-query/video-player',
        name: 'video-player',
        component: 'modules/overrun-penalty-query/video-player',
        meta: {
            title: '实时监控',
            seq: 45,
            launchIcon: 'video-player.png',
            icon: 'video-player'
        }
    },
    'MoreApplication': {
        component: 'Layout',
        name: 'more-application',
        path: '/more-application',
        // redirect: '/more-application/resource-manage/organization',
        meta: {
            title: '更多应用',
            icon: 'sidebar-breadcrumb',
            seq: 130
        }
    },
    'SystemManage': {
        component: 'EmptyLayout',
        redirect: '/more-application/system-manage/operateLog',
        name: 'system-manage',
        path: '/more-application/system-manage',
        meta: {
            title: '系统管理',
            icon: 'sidebar-menu',
            launchIcon: 'system-manage.png'

        },
        children: [
            {
                component: 'modules/more-application/operateLog',
                path: '/more-application/system-manage/operateLog',
                name: 'operateLog',
                meta: {
                    title: '操作日志',
                    icon: 'icon_search'
                }
            }]
    },

    'ResourceManage': {
        component: 'EmptyLayout',
        name: 'resource-manage',
        path: '/more-application/resource-manage',
        redirect: '/more-application/resource-manage/organization',
        meta: {
            title: '资源管理',
            icon: 'sidebar-menu',
            launchIcon: 'resource-manage.png'
        }
    },
    'Organization': {
        component: 'modules/more-application/organization',
        name: 'organization',
        path: '/more-application/resource-manage/organization',
        meta: {
            title: '组织机构',
            icon: 'organization'
        }
    },
    'UserManage': {
        component: 'EmptyLayout',
        redirect: '/more-application/user-manage/user-manage',
        name: 'user-manage-root',
        path: '/more-application/user-manage',
        meta: {
            title: '权限管理',
            icon: 'sidebar-menu',
            launchIcon: 'user-manage-root.png'
        },
        children: [{
            component: 'modules/more-application/user-manage',
            path: '/more-application/user-manage/user-manage',
            name: 'user-manage',
            meta: {
                title: '用户管理',
                icon: 'user-manage'
            }
        }, {
            component: 'modules/more-application/role-manage',
            path: '/more-application/user-manage/role-manage',
            name: 'role-manage',
            meta: {
                title: '角色管理',
                icon: 'role-manage'
            }
        }]
    }
};

export default module_routers;
